package com.wings4.school.academicconfiguration

import com.wings4.security.User
import com.wings4.school.exam.ExamType
import com.wings4.school.exam.ExamTermResult

class AcademicClasses {
    String className;
    String description;
    Date createdDate;
    User createdBy;
    Boolean status;

    static  hasMany = [academicSection:AcademicSection,classSection:ClassSection,
            examTermResult:ExamTermResult,examTypeResult:ExamTermResult];
    static belongsTo = [ExamType]
    static constraints = {
        description(nullable: true);

    }
    static mapping = {
        createdDate(sqlType: 'date');
    }
}
